import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex)
import login from "./login.js"
const store = new Vuex.Store({
	state: {
		tabindex: 0,
		showPopup: false
	},
	mutations: {
		changevalue(state, payload) {
			state.tabindex = payload
		},
		changeShowPopup(state, payload) {
			state.showPopup = payload
		}
	},
	actions: {

	},
	getters: {},
	modules: {
		login
	}
})

export default store
